home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / intuition / preferences.h < prev    next >
C/C++ Source or Header  |  1988-07-15  |  3KB  |  149 lines

  1. #ifndef    INTUITION_PREFERENCES_H
  2. #define    INTUITION_PREFERENCES_H
  3. #ifndef    EXEC_TYPES_H
  4. #include    "exec/types.h"
  5. #endif
  6. #ifndef    DEVICES_TIMER_H
  7. #include    "devices/timer.h"
  8. #endif
  9. #define    FILENAME_SIZE    30
  10. #define    POINTERSIZE    (1    +    16    +    1)    *    2
  11. #define    TOPAZ_EIGHTY    8
  12. #define    TOPAZ_SIXTY    9
  13. struct    Preferences
  14. {
  15. BYTE    FontHeight;
  16. UBYTE    PrinterPort;
  17. USHORT    BaudRate;
  18. struct    timeval    KeyRptSpeed;
  19. struct    timeval    KeyRptDelay;
  20. struct    timeval    DoubleClick;
  21. USHORT    PointerMatrix[POINTERSIZE];
  22. BYTE    XOffset;
  23. BYTE    YOffset;
  24. USHORT    color17;
  25. USHORT    color18;
  26. USHORT    color19;
  27. USHORT    PointerTicks;
  28. USHORT    color0;
  29. USHORT    color1;
  30. USHORT    color2;
  31. USHORT    color3;
  32. BYTE    ViewXOffset;
  33. BYTE    ViewYOffset;
  34. WORD    ViewInitX,    ViewInitY;
  35. BOOL    EnableCLI;
  36. USHORT    PrinterType;
  37. UBYTE    PrinterFilename[FILENAME_SIZE];
  38. USHORT    PrintPitch;
  39. USHORT    PrintQuality;
  40. USHORT    PrintSpacing;
  41. UWORD    PrintLeftMargin;
  42. UWORD    PrintRightMargin;
  43. USHORT    PrintImage;
  44. USHORT    PrintAspect;
  45. USHORT    PrintShade;
  46. WORD    PrintThreshold;
  47. USHORT    PaperSize;
  48. UWORD    PaperLength;
  49. USHORT    PaperType;
  50. UBYTE    SerRWBits;
  51. UBYTE    SerStopBuf;
  52. UBYTE    SerParShk;
  53. UBYTE    LaceWB;
  54. UBYTE    WorkName[FILENAME_SIZE];
  55. BYTE    RowSizeChange;
  56. BYTE    ColumnSizeChange;
  57. UWORD    PrintFlags;
  58. UWORD    PrintMaxWidth;
  59. UWORD    PrintMaxHeight;
  60. UBYTE    PrintDensity;
  61. UBYTE    PrintXOffset;
  62. UWORD    wb_Width;
  63. UWORD    wb_Height;
  64. UBYTE    wb_Depth;
  65. UBYTE    ext_size;
  66. };
  67. #define    LACEWB    0x01
  68. #define    LW_RESERVED    1
  69. #define    PARALLEL_PRINTER    0x00
  70. #define    SERIAL_PRINTER    0x01
  71. #define    BAUD_110    0x00
  72. #define    BAUD_300    0x01
  73. #define    BAUD_1200    0x02
  74. #define    BAUD_2400    0x03
  75. #define    BAUD_4800    0x04
  76. #define    BAUD_9600    0x05
  77. #define    BAUD_19200    0x06
  78. #define    BAUD_MIDI    0x07
  79. #define    FANFOLD    0x00
  80. #define    SINGLE    0x80
  81. #define    PICA    0x000
  82. #define    ELITE    0x400
  83. #define    FINE    0x800
  84. #define    DRAFT    0x000
  85. #define    LETTER    0x100
  86. #define    SIX_LPI    0x000
  87. #define    EIGHT_LPI    0x200
  88. #define    IMAGE_POSITIVE    0x00
  89. #define    IMAGE_NEGATIVE    0x01
  90. #define    ASPECT_HORIZ    0x00
  91. #define    ASPECT_VERT    0x01
  92. #define    SHADE_BW    0x00
  93. #define    SHADE_GREYSCALE    0x01
  94. #define    SHADE_COLOR    0x02
  95. #define    US_LETTER    0x00
  96. #define    US_LEGAL    0x10
  97. #define    N_TRACTOR    0x20
  98. #define    W_TRACTOR    0x30
  99. #define    CUSTOM    0x40
  100. #define    CUSTOM_NAME    0x00
  101. #define    ALPHA_P_101    0x01
  102. #define    BROTHER_15XL    0x02
  103. #define    CBM_MPS1000    0x03
  104. #define    DIAB_630    0x04
  105. #define    DIAB_ADV_D25    0x05
  106. #define    DIAB_C_150    0x06
  107. #define    EPSON    0x07
  108. #define    EPSON_JX_80    0x08
  109. #define    OKIMATE_20    0x09
  110. #define    QUME_LP_20    0x0A
  111. #define    HP_LASERJET    0x0B
  112. #define    HP_LASERJET_PLUS    0x0C
  113. #define    SBUF_512    0x00
  114. #define    SBUF_1024    0x01
  115. #define    SBUF_2048    0x02
  116. #define    SBUF_4096    0x03
  117. #define    SBUF_8000    0x04
  118. #define    SBUF_16000    0x05
  119. #define    SREAD_BITS    0xF0
  120. #define    SWRITE_BITS    0x0F
  121. #define    SSTOP_BITS    0xF0
  122. #define    SBUFSIZE_BITS    0x0F
  123. #define    SPARITY_BITS    0xF0
  124. #define    SPARITY_NONE    0
  125. #define    SPARITY_EVEN    1
  126. #define    SPARITY_ODD    2
  127. #define    SHSHAKE_XON    0
  128. #define    SHSHAKE_RTS    1
  129. #define    SHSHAKE_NONE    2
  130. #define    CORRECT_RED    0x0001
  131. #define    CORRECT_GREEN    0x0002
  132. #define    CORRECT_BLUE    0x0004
  133. #define    CENTER_IMAGE    0x0008
  134. #define    IGNORE_DIMENSIONS    0x0000
  135. #define    BOUNDED_DIMENSIONS    0x0010
  136. #define    ABSOLUTE_DIMENSIONS    0x0020
  137. #define    PIXEL_DIMENSIONS    0x0040
  138. #define    MULTIPLY_DIMENSIONS    0x0080
  139. #define    INTEGER_SCALING    0x0100
  140. #define    ORDERED_DITHERING    0x0000
  141. #define    HALFTONE_DITHERING    0x0200
  142. #define    FLOYD_DITHERING    0x0400
  143. #define    ANTI_ALIAS    0x0800
  144. #define    GREY_SCALE2    0x1000
  145. #define    CORRECT_RGB_MASK    (CORRECT_RED|CORRECT_GREEN|CORRECT_BLUE)
  146. #define    DIMENSIONS_MASK    (BOUNDED_DIMENSIONS|ABSOLUTE_DIMENSIONS|PIXEL_DIMENSIONS|MULTIPLY_DIMENSIONS)
  147. #define    DITHERING_MASK    (HALFTONE_DITHERING|FLOYD_DITHERING)
  148. #endif
  149.